// import vue from "@vitejs/plugin-vue";
// import createAutoImport from "./plugins/auto-import";
// import createSvgIcon from "./plugins/svg-icon";
// import createCompression from "./plugins/compression";
// import createSetupExtend from "./plugins/setup-extend";
// import createComponents from "./plugins/components";
// import vueJsx from "@vitejs/plugin-vue-jsx";
// import { visualizer } from "rollup-plugin-visualizer";
import { createAutoImport, createComponents } from './plugins/auto-import';
import vue from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx';
export default function createVitePlugins(viteEnv: string, isBuild: boolean) {
  return [vue(), vueJsx(), createComponents(), createAutoImport()];
}
